<?php

class Tes_draft_surat extends CI_Controller {

    public function __construct() {
        parent::__construct();
        $this->load->model('Draft_surat');
    }
    
    # Url : http://localhost/SIMPersuratan/index.php/tes_unit/Tes_draft_surat/draft_surat
    public function draft_surat() {
        $this->Draft_surat->membuat_draft_surat("DRAFT 12-15-1990");
    }
    
    # Url : http://localhost/SIMPersuratan/index.php/tes_unit/Tes_draft_surat/aprofal_surat
    public function aprofal_surat() {
        $this->Draft_surat->membuat_aprofal_surat("DISETUJUHI");
    }
    
    # Url : http://localhost/SIMPersuratan/index.php/tes_unit/Tes_draft_surat/pelacakan_draft
    public function pelacakan_draft() {
        $this->Draft_surat->pelacakan_draft_surat("12-15-1990");
    }
    
}

?>
